<div class="navWrap navWrapTop">
    <div class="wrap clearfloat">
        <div class="menu"> <span></span> <span></span> <span></span> </div>
        <a class="logo" href="${ctxFrt}/${siteId}">
            <img src="${getSite(siteId).logo!}" alt="${getSite(siteId).keywords!}"/>
        </a>
        <div class="nav">
            <ul>
                <li class="dropdown ${(curMainColumnId == '0')?then( 'active', '')}"> <a href="${ctxFrt}/${siteId}">网站首页</a>
                    <ul class="submenu">
                    </ul>
                </li>
                <#list getMainColumnList(siteId) as column>
                    <#if column_index lt themesParamConfig_mainColCount >
                        <!-- 有无子节点 -->
                        <#if column.hasChildren>
                            <!-- 是否当前栏目 -->
                            <li class="dropdown ${(curMainColumnId == column.id) ?then('active', '')}">
                                <span class="navBtn"></span>
                                <a href="#">${column.name}</a>
                                <ul class="submenu">
                                    <#list getColumnList(siteId,column.id) as subColumn>
                                        <#if subColumn_index lt themesParamConfig_secColCount>
                                            <li>
                                                <!-- 是否存在外部链接 -->
                                                <#if subColumn.href == "">
                                                    <a href="${ctxFrt}/${siteId}/col${preview}-${subColumn.id}${urlSuffix}">${subColumn.name}</a>
                                                <#else >
                                                    <a href="${subColumn.href}" target="_blank">${subColumn.name}</a>
                                                </#if>
                                            </li>
                                        </#if>
                                    </#list>
                                </ul>
                            </li>
                        <#else >
                            <!-- 是否当前栏目 -->
                            <li class=" ${(curMainColumnId == column.id) ?then('active', '')}">
                                <!-- 是否存在外部链接 -->
                                <#if column.href == "">
                                    <a href="${ctxFrt}/${siteId}/col${preview}-${column.id}${urlSuffix}">${column.name}</a>
                                <#else >
                                    <a href="${column.href}" target="_blank">${column.name}</a>
                                </#if>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </div>
    </div>
</div>
<div class="top" id="top">
    <div class="topLine clearfloat">
        <div class="wrap">
            <h2>欢迎访问 ${getSite(siteId).name!}</h2>
            <p>咨询热线：${getSite(siteId).phone!}</p>
        </div>
    </div>
    <div class="navWrap">
        <div class="wrap clearfloat">
            <div class="menu"> <span></span> <span></span> <span></span> </div>
            <a class="logo" href="${ctxFrt}/${siteId}">
                <img src="${getSite(siteId).logo!}" alt="${getSite(siteId).keywords!}"/>
            </a>
            <div class="nav">
                <ul>
                    <li class="dropdown ${(curMainColumnId == '0')?then( 'active', '')}"> <a href="${ctxFrt}/${siteId}">网站首页</a>
                        <ul class="submenu">
                        </ul>
                    </li>
                    <#list getMainColumnList(siteId) as column>
                        <#if column_index lt themesParamConfig_mainColCount >
                            <!-- 有无子节点 -->
                            <#if column.hasChildren>
                                <!-- 是否当前栏目 -->
                                <li class="dropdown ${(curMainColumnId == column.id) ?then('active', '')}">
                                    <span class="navBtn"></span>
                                    <a href="javascript:;">${column.name}</a>
                                    <ul class="submenu">
                                        <#list getColumnList(siteId,column.id) as subColumn>
                                            <#if subColumn_index lt themesParamConfig_secColCount>
                                                <li>
                                                    <!-- 是否存在外部链接 -->
                                                    <#if subColumn.href == "">
                                                        <a href="${ctxFrt}/${siteId}/col${preview}-${subColumn.id}${urlSuffix}">${subColumn.name}</a>
                                                    <#else >
                                                        <a href="${subColumn.href}" target="_blank">${subColumn.name}</a>
                                                    </#if>
                                                </li>
                                            </#if>
                                        </#list>
                                    </ul>
                                </li>
                            <#else >
                                <!-- 是否当前栏目 -->
                                <li class=" ${(curMainColumnId == column.id) ?then('active', '')}">
                                    <!-- 是否存在外部链接 -->
                                    <#if column.href == "">
                                        <a href="${ctxFrt}/${siteId}/col${preview}-${column.id}${urlSuffix}">${column.name}</a>
                                    <#else >
                                        <a href="${column.href}" target="_blank">${column.name}</a>
                                    </#if>
                                </li>
                            </#if>
                        </#if>
                    </#list>
                </ul>
            </div>
        </div>
    </div>
</div>
